package com.neusoft.elm.service;

import com.neusoft.elm.dao.OrderDetailetDao;
import com.neusoft.elm.po.OrderDetailet;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OrderDetailetServiceImpl implements OrderDetailetService {
    @Autowired
    private OrderDetailetDao orderDetailetDao;
    @Override
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId) throws Exception {
        List<OrderDetailet> orderDetailetList = orderDetailetDao.listOrderDetailetByOrderId(orderId);
        return orderDetailetList;
    }
}
